package com.ruoyi.mateThrough.mapper;

import com.ruoyi.mateThrough.domain.MateThrough;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author
 * @Version 1.0
 */
@Mapper
public interface MateThroughMapper {

    public int addThrough(MateThrough mateThrough);

    public List<MateThrough> selectThrough(MateThrough mateThrough);

    public MateThrough selectMateThrough(Long throughId);

    public  int updatemateThrough(MateThrough mateThrough);

    public void removeMateThrough(Long throughId);

    public MateThrough selectMateThroughLast(Map<String,Object> resMap);
}
